package com.itheima.pojo;

import lombok.Data;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

@Data
public class User {
    private String username;
    //数组
    private String[] str;
    //list
    private List<String> list;
    //set
    private Set<String> set;
    //map
    private Map<String, String> map;
    //properties
    private Properties prop;

    //泛型指定为对象类型
    private List<Address> addressList;

    private Map<String, Address> addressMap;
}
